from django.contrib import admin
from django.urls import path,re_path
from sers import views

urlpatterns = [
    path('admin/', admin.site.urls),
    path('book/', views.BookView.as_view(), name='book'),
    # path('book/(int:id)/', views.BookDetailView.as_view())
    re_path('book/(\d+)', views.BookDetailView.as_view())
]
